<div class="orgInfo">
    <div class="view">
        <h2>机构详情</h2>
        <form class="form-horizontal" ng-submit="saveOrg()">
            <div class="form-inline col-sm-12">
                <div class="col-xs-6 form-group">
                    <label for="onePass" class="text-right">
                    <span class="required-color">
                        *
                    </span>
                        组织一号通
                    </label>
                    <input type="text" ng-model="orgInfo.onePass" ng-disabled="true" class="form-control" id="onePass" tabindex="1"/>
                </div>
            </div>
            <div class="form-inline col-sm-12">
                <div class="col-xs-6 form-group">
                    <label for="orgName" class="text-right">
                    <span class="required-color">
                        *
                    </span>
                        组织名称
                    </label>
                    <input type="text" ng-model="orgInfo.orgName" class="form-control" id="orgName" required tabindex="2"/>
                </div>
            </div>
            <div class="form-inline col-sm-12">
                <div class="col-sm-6 form-group">
                    <label for="province" class="text-right">
                    <span class="required-color">
                        *
                    </span>
                        地址信息
                    </label>
                    <select class="form-control" ng-model="orgInfo.province" id="province" ng-options="item.ProID as item.ProName for item  in province" tabindex="4" ng-change="provinceChange()">
                    </select>
                </div>
                <div class="col-sm-6 form-group">
                    <select class="form-control" ng-model="orgInfo.city" id="city" ng-options="item.CityID as item.CityName for item  in city | filter :{ProID:orgInfo.province}" tabindex="5" style="width: inherit;" ng-change="cityChange()">
                    </select>
                    <select class="form-control" ng-model="orgInfo.county" id="District" ng-options="item.Id as item.DisName for item  in District | filter :{CityID:orgInfo.city}" tabindex="6" style="width: inherit;">
                    </select>
                </div>
            </div>
            <div class="form-inline col-sm-12">
                <div class="col-xs-8 form-group" style="height: 100px">
                    <label for="address" class="text-right" style="line-height: 100px">
                    <span class="required-color">
                        *
                    </span>
                        详细地址
                    </label>
                    <textarea cols="30" rows="10" ng-model="orgInfo.address" class="form-control" id="address" required tabindex="7" style="height: 100px"></textarea>
                </div>
            </div>
            <div class="form-inline col-sm-12">
                <div class="col-xs-6 form-group">
                    <label for="zipCode" class="text-right">
                    <span class="required-color">
                        *
                    </span>
                        邮政编码
                    </label>
                    <input type="text" pattern="[1-9]\d{5}(?!\d)" title="请输入正确的邮政编码" ng-model="orgInfo.zipCode" class="form-control" id="zipCode" required tabindex="8"/>
                </div>
            </div>
            <div class="form-inline col-sm-12">
                <div class="col-xs-6 form-group">
                    <label for="principal" class="text-right">
                    <span class="required-color">
                        *
                    </span>
                        负责人姓名
                    </label>
                    <input type="text" ng-model="orgInfo.principal" class="form-control" id="principal" required tabindex="9"/>
                </div>
            </div>
            <div class="form-inline col-sm-12">
                <div class="col-xs-6 form-group">
                    <label for="phone" class="text-right">
                    <span class="required-color">
                        *
                    </span>
                        负责人手机
                    </label>
                    <input type="text" pattern="1[\d]{10}" title="请输入正确的手机号" ng-model="orgInfo.phone" class="form-control" id="phone" required tabindex="10"/>
                </div>
            </div>
            <div class="form-inline col-xs-12 form-footer">
                <div class="col-sm-12">
                    <input type="submit" value="提交" class="col-sm-offset-3 col-sm-2 btn btn-primary"/>
                </div>
            </div>
        </form>
    </div>
</div>
